<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<style type="text/css">
.listnav:after{clear:both;height:0;};
.listnav p {height:30px;}
.listnav p span {float:left;}
.bg {background: #e0e0e0;  font-weight: bold;}
table th {width:90px;}
table th, table td {border-top:1px solid #b0b0b0;}
table tr td {text-align: center; border-left:1px solid #b0b0b0;}
.bg_num {background: #ffdd00; font-weight: bold;}
#result #loading {margin:100px 11px 0px 11px; text-align: center;}
.cbx{float:none; text-align:right;}
</style>
<script type="text/javascript"> 
$(function(){
	function get(y, callback) {
		$.get('/a/stat/ajax/monthCount?year='+y, function(data){
			$("#result").html(data);
			if(callback != undefined) {
				callback();
			}
		});
	}
	function checked(o) {
		$('.cbx').find('a').each(function(){
			//alert($(this).html());
			$(this).removeClass('fcs');
			
		});
		$(o).addClass('fcs');
	}
	$('.cbx a').bind('click', function(){
		var _a = this;
		aju.ajaxBg(function() {
			aju.showLoading();
			var y = $(_a).html();
			checked(_a);
			get(y, function(){
				aju.hideLoading();
				aju.ajaxBgClose();
			});
		});
	});
	get('');
});
</script> 
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="list">
<div class="listnav">
<div class="cbx">
<c:forEach var="c" begin="${yearS}" end="${yearE}">
<c:if test="${c==yearC}"><span><a class="fcs">${c}</a></span></c:if>
<c:if test="${c!=yearC}"><span><a>${c}</a></span></c:if>
</c:forEach>
</div>
</div>
<div id="result" class="c">
<div id="loading"><img src="/static/images/loading.gif" alt="" align="absmiddle"/> 正在统计，请稍候...</div>
</div>
</div>
<div class="sidebar"></div>
</div>
</div>
</body>
</html>